package com.zzt.service;

import com.zzt.entity.MemberAndMessage;
import com.zzt.entity.Memberinfo;
import org.springframework.stereotype.Service;

@Service
public interface MemberInfoService {
    MemberAndMessage registerMember(Memberinfo memberinfo);
    MemberAndMessage loginMember(String nickname, String pwd);


    //更改个人信息
    int updatePersonInfo(Memberinfo memberinfo, String oldpwd);

    //查询个人信息
    MemberAndMessage showMemberInfo(int mno);
}
